import { ExpApplication } from '@/framework/core/ExpApplication'
import { type AddressInfo } from 'net'
import { AppLogger } from '@/framework/core/Log4jHandler'

@ExpApplication
export class Application {
  mainFn (config: AddressInfo) {
    AppLogger.info(`服务启动成功 http://${config.address}:${config.port}`)
  }
}
